home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / ds.doc < prev    next >
Text File  |  1995-03-31  |  971b  |  21 lines

  1. Author: Joseph K. Horn; based on Kevin Jessup's QSDIR on this disk. 
  2. Note: Kevin also wrote DSORT on the HORN1 disk. 
  3.  
  4. Requires James Donnelly's TOOL LIBRARY. 
  5.  
  6. Here is a machine-code sort version of the QSDIR directory 
  7. sorter.  Remove the first and last command from the DS program, 
  8. and it becomes a generic "name list sorter", which can be used 
  9. to create a program functionally identical to QSDIR; just 
  10. use 15 TVARS to get a list of directories, VARS SDIFF to get a 
  11. list of everything else, and sort away! 
  12.  
  13. INSTRUCTIONS: with DS and LISP in HOME, executing DS in any 
  14. subdirectory will sort its vars into alphabetical order as 
  15. quickly as the HP 48 is capable(?)  The speed is due to the use 
  16. of Jim Donnelly's QSORT, written in machine language.  The only 
  17. way I can imagine making DS faster would involve rewriting the 
  18. ORDER command, which is the bottleneck here. 
  19.  
  20. --  Joseph K. Horn  --  (714) 858-0920  --  Peripheral Vision, Ltd. 
  21.